//
//  LBQRequestMobileLoginResetpwd.m
//  liBaQiang
//
//  Created by 奇林刘 on 2018/11/12.
//  Copyright © 2018年 liu. All rights reserved.
//

#import "LBQRequestMobileLoginResetpwd.h"

@implementation LBQRequestMobileLoginResetpwd

+ (NSString *)urlComponent {
    return @"/mobile/login/reset_pwd";
}

+ (void)goRequestWithResetToken:(nonnull NSString *)resetToken
                       password:(nonnull NSString *)password
                    device_type:(nonnull NSString *)deviceType
                        success:(Success)success
                        failure:(Failure)failure {
    
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    
    parameters[@"reset_token"] = resetToken;
    parameters[@"password"] = password;
    parameters[@"device_type"] = deviceType;
    
    [self POSTWithParameters:parameters success:success failure:failure];
}

@end
